package com.android.publicModule.system;

import com.android.publicModule.tools.Tools;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.Signature;
import android.util.Base64;

public class PlatformManager {

	private static PlatformManager platformManager;
	private Context mContext;
	/**
	 * 平台名称列表
	 */
	private String []platformNameList = {
			 "MTK平台"
			,"展讯平台"
			,"经纬平台"
			,"小米系列"
			,"三星系列"
			,"三星早期系列"
			,"卓普系列"
			,"HTC系列"
			,"小米MIUI-V5"
			,"展讯6825"
			,"MTK6589"
			
	};
	/**
	 * 平台系统签名公钥列表
	 */
	/*
	private String []platform_x509_pemList = {
			 "MIIEqDCCA5CgAwIBAgIJALOZgIbQVs/6MA0GCSqGSIb3DQEBBAUAMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTAeFw0wODA0MTUyMjQwNTBaFw0zNTA5MDEyMjQwNTBaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgCggEBAJx4BZKsDV04HN6qZezIpgBuNkgMbXIHsSARvlCGOqvitV0Amt9xRtbyICKAx81Ne9smJDuKgGwms0sTdSOkkmgiSQTcAUk+fArPGgXIdPabA3tgMJ2QdNJCgOFrrSqHNDYZUer3KkgtCbIEsYdeEqyYwap3PWgAuer95W1Yvtjo2hb5o2AJnDeoNKbf7be2tE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9XL0Bf8BgiTsoSE2ZBGXQ+CAVUulaeU6MSqMJydY6H335wIDAQABo4H6MIH3MB0GA1UdDgQWBBQkKDbbkJGuQgyVQCJTzwXmXeod6DCBxwYDVR0jBIG/MIG8gBQkKDbbkJGuQgyVQCJTzwXmXeod6KGBmKSBlTCBkjELMAkGA1UEBhMCQ04xETAPBgNVBAgTCFpoZUppYW5nMQ8wDQYDVQQHEwZOaW5nQm8xDTALBgNVBAoTBEJpcmQxFTATBgNVBAsTDEJpcmRDQWNhZGVtZTETMBEGA1UEAxMKTWlKaWFuZmVuZzEkMCIGCSqGSIb3DQEJARYVamlhbmZlbmcubWlAbmJic3cuY29tggkA/pNj5ujOHQMwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAAoiKd+w3ui3y8qJ2SqD+v4zMsZCZ6LNVk/6TaikXlAJpdskw5N4wFWesKQgeL4HFaCuQKCaefa5/uC0TIgDFkK7oT92LY44musH11bHmPRc50kek4yFYifsYMRf5TY7yofirBgwTAOQMgTJSyQtAdIji1inmyPXE823Y/MLXMr8E03ZoGet5OKdGBOP6JWHLPkUf8OKWVOte9q0YjNjeUZX9Xc644F5HpX4P0MbvEPpnY/yRl8owe9V+OdxxmoSG7xWd8sH2/FmxAb22g467+m2yIhEerj4NMlC5cEfjQRhow1kduMfbc2wwww07FMpN4jJD5fS1rj184rOjnQR6WA=="
			
	};
	*/
	/**
	 * 平台系统签名公钥DECODE数据信息列表
	 */
	/*
	private String []platform_SignaturesList;
	*/
	/*
	private String []platform_SignaturesList = {
			 "308204a830820390a003020102020900b3998086d056cffa300d06092a864886f70d0101040500308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d301e170d3038303431353232343035305a170d3335303930313232343035305a308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d30820120300d06092a864886f70d01010105000382010d003082010802820101009c780592ac0d5d381cdeaa65ecc8a6006e36480c6d7207b12011be50863aabe2b55d009adf7146d6f2202280c7cd4d7bdb26243b8a806c26b34b137523a49268224904dc01493e7c0acf1a05c874f69b037b60309d9074d24280e16bad2a8734361951eaf72a482d09b204b1875e12ac98c1aa773d6800b9eafde56d58bed8e8da16f9a360099c37a834a6dfedb7b6b44a049e07a269fccf2c5496f2cf36d64df90a3b8d8f34a3baab4cf53371ab27719b3ba58754ad0c53fc14e1db45d51e234fbbe93c9ba4edf9ce54261350ec535607bf69a2ff4aa07db5f7ea200d09a6c1b49e21402f89ed1190893aab5a9180f152e82f85a45753cf5fc19071c5eec827020103a381fc3081f9301d0603551d0e041604144fe4a0b3dd9cba29f71d7287c4e7c38f2086c2993081c90603551d230481c13081be80144fe4a0b3dd9cba29f71d7287c4e7c38f2086c299a1819aa48197308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d820900b3998086d056cffa300c0603551d13040530030101ff300d06092a864886f70d01010405000382010100572551b8d93a1f73de0f6d469f86dad6701400293c88a0cd7cd778b73dafcc197fab76e6212e56c1c761cfc42fd733de52c50ae08814cefc0a3b5a1a4346054d829f1d82b42b2048bf88b5d14929ef85f60edd12d72d55657e22e3e85d04c831d613d19938bb8982247fa321256ba12d1d6a8f92ea1db1c373317ba0c037f0d1aff645aef224979fba6"
			,"308204b73082039fa003020102020900893b385e38cd994f300d06092a864886f70d0101050500308198310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643126302406092a864886f70d0109011617706c6174666f726d6b657940686f746d61696c2e636f6d3020170d3132303530393039323734345a180f31393033303832303032353932385a308198310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643126302406092a864886f70d0109011617706c6174666f726d6b657940686f746d61696c2e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100d8af22cdacfcf5ca3ba62f3ebcc243cb94e9ff3d9417462021512da9195cf1188bde98da973f3ca303563423649f391f3fcf8d7b823ac809ec2945367fcb25f762fe4eb4d2eba065265259ba5c30281e3d633a6d2075d2649be9857605c25650ec68fb623120d31c06074df6c893c5d608e7d3e9c6d247333c38bf19dd23210d069ab475b761e9c15b3c5d78d171296fb2ccd88307e0d7625a3ee56cea2c2209a541ade683cc8a5b7cb55e28bffa33ec6d2329e3cff0375bee25317eee33ba65602be75c1abf2a28873ee5226b68112c006965187b4dd7ac61b572ee4f2a45e8172e2c74f3c3cdd3b1720eb0a0050ad9d5c462abc13cde8b7f01ff3b0dfe9b33020103a38201003081fd301d0603551d0e04160414ab34efea61f20ac8d87fb00c2f13de76180e20963081cd0603551d230481c53081c28014ab34efea61f20ac8d87fb00c2f13de76180e2096a1819ea4819b308198310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643126302406092a864886f70d0109011617706c6174666f726d6b657940686f746d61696c2e636f6d820900893b385e38cd994f300c0603551d13040530030101ff300d06092a864886f70d010105050003820101003a10b15dd5ac68eba83e65b3d5a6ad2e1d67a0aa3f4c36fff4e5ad90f4f960a14223f07f1e7c1ffae4146f21e1d15f83619d463e6372494c976b286e74bb9901945dff310c3718cbc4a45c9f1bdb75b28395c189101b1387a3d7338c1a514d3866589d29aabc0249183da682a8bfed50f"
			,""
			,"308204a830820390a003020102020900a540dc35eb9b2228300d06092a864886f70d0101050500308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d301e170d3130303831313031323930305a170d3337313232373031323930305a308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100ea9a10185c97683ad40df4a6739c21c716a087df107ec9134d5980d86d3c7b167949444e51c61ec3fd4918f6d954373ff7015188299324dbe730c833deac9af00e834d3b05d2f2b5a24d4f65e9e1f1c7f7986c1c053459e8be3ab575f13bb43deb3c95720eff7fd00e124422da6b498deae9b43dc2831ae988ce6a80da37ee3c439cf0f2ca9eea98f5f7aed321766198e7cd0fa8733abcea9fb5d118ecd852616b4d70de8be9129221f07a9e066e2187b8d602e3e28be8483874de6f5797720183d4afb91f116dd4547b66e68b5aef4cfd0630c1dcf15ec2d6e16df22c747fc5aa83b7c41b2789a559d02e51ba17c923685dd4b74d30cb0d1ee54525747405bd020103a381fc3081f9301d0603551d0e04160414b0ab89f1dcaac8af43491eea12ef7796db7c392c3081c90603551d230481c13081be8014b0ab89f1dcaac8af43491eea12ef7796db7c392ca1819aa48197308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d820900a540dc35eb9b2228300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100277749cc02b6601ffdab596265c39bd99de2bc4ac858caf95604d9a63adfbeb0f039ce9571763419226efbe995ad14a484a515a25b17f7ba9be35f5f6e64af49dc447f12cf7338588964a9adbbda2f512240b8e7c351e08d5ed35d077570d36181144b74354e9a2b8c4dbdd94c128bb128816e21f3a0b519250c78f01221c4c29305639512b5702da0ebe32b018a2"
			,"308204d4308203bca003020102020900d20995a79c0daad6300d06092a864886f70d01010505003081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d301e170d3131303632323132323531325a170d3338313130373132323531325a3081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100c986384a3e1f2fb206670e78ef232215c0d26f45a22728db99a44da11c35ac33a71fe071c4a2d6825a9b4c88b333ed96f3c5e6c666d60f3ee94c490885abcf8dc660f707aabc77ead3e2d0d8aee8108c15cd260f2e85042c28d2f292daa3c6da0c7bf2391db7841aade8fdf0c9d0defcf77124e6d2de0a9e0d2da746c3670e4ffcdc85b701bb4744861b96ff7311da3603c5a10336e55ffa34b4353eedc85f51015e1518c67e309e39f87639ff178107f109cd18411a6077f26964b6e63f8a70b9619db04306a323c1a1d23af867e19f14f570ffe573d0e3a0c2b30632aaec3173380994be1e341e3a90bd2e4b615481f46db39ea83816448ec35feb1735c1f3020103a382010b30820107301d0603551d0e04160414932c3af70b627a0c7610b5a0e7427d6cfaea3f1e3081d70603551d230481cf3081cc8014932c3af70b627a0c7610b5a0e7427d6cfaea3f1ea181a8a481a53081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d820900d20995a79c0daad6300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100329601fe40e036a4a86cc5d49dd8c1b5415998e72637538b0d430369ac51530f63aace8c019a1a66616a2f1bb2c5fabd6f313261f380e3471623f053d9e3c53f5fd6d1965d7b00"
			,"308204d4308203bca003020102020900d9ee113714aab303300d06092a864886f70d01010505003081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d301e170d3039303630393136303030395a170d3336313032353136303030395a3081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100ec9bcb6800d3de94dc31d12bdb275e48f7310c3e4ac21d3e89c1f221a1e4c4cda1bb24dd02a34b1c8866e97f0a1ed77057976bfc49b8567de00c9165f45eb5e2aff13298c83cdf0d1c3fe75494b5b167e141adcfa6f26b759af853ae4a1afb340f1b3b847eeb3d5a790cc0e1c162b068ac15301c6b0ae0c3cdba843c8e0a020d1dace1d72944616d5006fa2464a6e0b3ff74af1f3e6138ec2138c6df2ea7da76b6eb657f1b1227d48d1c0671c9ffabaff5cef2cd054d17bb81f738478a8935da7673d4ac74038cbe6923d7da0b91e7b73133bc2a3cdc422264e03d7cf5631b72195c47e63ecc9fb270e494e51820ab0d4e91af7e2f493175acbd84af58f3dea5020103a382010b30820107301d0603551d0e04160414aaecbc21c3edcafd6464767d2d1f478bec1783983081d70603551d230481cf3081cc8014aaecbc21c3edcafd6464767d2d1f478bec178398a181a8a481a53081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d820900d9ee113714aab303300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100294e7794e1b567a2b123cd44a2e74ed731970419851c2c3592a7a058b056196477ab45834ff89eb62cffc7b00c65fa7249e17e84c4e7935155f78ae1c48c75bf9233dfadfe4f1b35cd"
			,"308204843082036ca00302010202090096656075da6656a9300d06092a864886f70d0101050500308188310b3009060355040613025457310f300d06035504081306546169706569311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311a301806092a864886f70d010901160b4d544b404d544b2e636f6d301e170d3131303830333036323533365a170d3338313231393036323533365a308188310b3009060355040613025457310f300d06035504081306546169706569311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311a301806092a864886f70d010901160b4d544b404d544b2e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100ce83f9edb4fbd1512de26d2695ab9ebb663735628d5f3cea10ccfaaba5e35468aee0c155a7483c5744af647e6a8d4e9138c0ea471923b4a2ebf552b1b74bf67b0cc597811d48feadf2baf18e0f33383ef0de10a937ea18c05bfa49c96550dab4a4f5650349f7d6cbccaf57169e04f4eb689af74020e9c02c3a6bd6fc26e029de913575e074dd70bfa3f953b6d72cc02d64587c275a569061b7102222ef2c8241a2969348cbcfeb25bc99b14cf768c4eb82c79cffd3d322c8d5c67bdb24f4d1c3de5c5f5ba6818ab98dfa070fec98f5e1af4d0c5e1e13d58c204583d6e4e861ab5e012225000c7dd9882d2e1e8e111e2e4e3bd571356d54fda0c1bd6eaa45351d020103a381f03081ed301d0603551d0e04160414548337e068ce5c22ea1344740298198d9aabf1ac3081bd0603551d230481b53081b28014548337e068ce5c22ea1344740298198d9aabf1aca1818ea4818b308188310b3009060355040613025457310f300d06035504081306546169706569311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311a301806092a864886f70d010901160b4d544b404d544b2e636f6d82090096656075da6656a9300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100b6ecc63f97c379dfe40ce1853d77159f79491338e78de100a1f5d940ce9780a3a379ed1241b678162a17a5a2d6e147d5be6550ccfdfc139b2cb9d924d9ac49822a9cf3f3f9fb94041d3fc9317cbf011b1f17aa7a19657cde416c2049716857e2e1c169486752fa9f2096d0fb0ff07b8bde5a264d22103eeb24b0e1d0ad861fb51cd43dba724cc2b76d603245b1ab6c68b05222486c2563d5d10822079a516f676670fcfa964a4d4cd07ef3b69a2d2bacbeaec26b5b9b77f77d56ffaf230ae3422a760ae44d21f9"
			,"3082048130820369a003020102020900e7331f29e9d30143300d06092a864886f70d0101050500308187310b30090603550406130254573110300e0603550408130754616f7975616e3110300e0603550407130754616f7975616e3110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311e301c06092a864886f70d010901160f616e64726f6964406874632e636f6d301e170d3039303330313133343431355a170d3336303731373133343431355a308187310b30090603550406130254573110300e0603550408130754616f7975616e3110300e0603550407130754616f7975616e3110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311e301c06092a864886f70d010901160f616e64726f6964406874632e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100a278c94d68c907bf1ea198d3180b15c98cda4eef58ac8c035a885435673cd07621544d39b7b881a97bfe138faf10d23f5ea81c6651fd40abde14e8023cf7eb5f7830896e30563affe177ce7b0942d451b14da2ed3f48f8659755aacfa551eda79ce95a8b9cf94ede0501651995ef9d7344b4725137ae8ecd090399a6b22664e0c1fc3699fa55f62d5b290560d8bbf33cb804a7803ed49322a5117ef3c430fa66089218832852a8ba96a3554234515fc800545f1d160274a737b0af0eaf0576a40d378c7833e07f0624cbd6cc82ced8ff78b95670510560284492766381aed1f333f8ffea0bdde7cf37f0340cc45fa7ffda6f7d4d0129b60789db1671f389d0ab020103a381ef3081ec301d0603551d0e04160414acd68584abeffb3373e2f196757f34f36301bc783081bc0603551d230481b43081b18014acd68584abeffb3373e2f196757f34f36301bc78a1818da4818a308187310b30090603550406130254573110300e0603550408130754616f7975616e3110300e0603550407130754616f7975616e3110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311e301c06092a864886f70d010901160f616e64726f6964406874632e636f6d820900e7331f29e9d30143300c0603551d13040530030101ff300d06092a864886f70d0101050500038201010035bb7e2967477e72b7901b8da80f3cf9a4695769dbaaa6eed21662ad05d8587f06f6d5c78ef517ef4a928ebaa7105962403397def53c496fd3d4f54b0639d1fe5b6d37bb8fb5fe527d5c01215a25509ea987889fa3d7b6cc1117f37ef71769a5da2a8f5554365b805929daaeec6324c621215d26b0116ce56a22b2ab192c012741571d9e753f47448b9f12370eb59aa894153ea009d5c34ffd9946f62adb423caa28ac48e82078af2393dffe378a5cca802aa76595d89a666f1d0ef42bb22b7c974cfd0d"
			
	};
	*/
	private String []platform_Signatures_UniqueKey = {
			"1596-1075206358-1006433382"
			,"1616-1563096257--1496747071"
			,"1560-373359108-347745028"
			,"1596-1039539384-247148530"
			,"1656--962330353--1037659633"
			,"1656-2016545008--159723088"
			,"1548-1869432133-2107855051"
			,"1544-1026173808--1306086864"
			,"1516-763890972--1185041854"
			,"1616-1433176330-284420106"
			,"1592-135289328--1146822608"
			
	};
	private static final String unkownPlatform = "未知平台";
	
	/**
	 * 初始化平台信息管理类
	 */
	public PlatformManager() {
		/*
		if(platform_SignaturesList==null||platform_SignaturesList.length!=platform_x509_pemList.length)
		{
			platform_SignaturesList = new String[platform_x509_pemList.length];
			for(int i=0;i<platform_SignaturesList.length;i++)
			{
				platform_SignaturesList[i]="";
			}
		}
		*/
	}
	
	/**
	 * 获取单例平台信息管理类
	 * @param context
	 * @return
	 */
	public static PlatformManager getInstance(Context context) {
		if(platformManager==null)
		{
			platformManager = new PlatformManager();
		}
		platformManager.setContext(context);
		return platformManager;
	}
	
	/**
	 * 绑定当前上下文
	 * @param context
	 */
	private void setContext(Context context) {
		if(context!=null)
		{
			mContext = context;
		}
	}
	
	/**
	 * 获取系统签名的包名
	 * @return
	 */
	public String getSignpkg() {
		return signpkg;
	}
	
	/**
	 * 获取软件安装签名信息（framwork 或 设置的系统签名）
	 */
	private String currentSignatures;
	private String signpkg = SystemInfo.ANDROID;
	private byte []signByteArray;
	public String getCurrentSignatures(Context context) {
		if(currentSignatures==null)
		{
			PackageInfo info = Tools.getPackageInfo(context, SystemInfo.ANDROID, PackageManager.GET_SIGNATURES);
			if(info==null)
			{
				info = Tools.getPackageInfo(context, SystemInfo.SETTINGS, PackageManager.GET_SIGNATURES);
				signpkg = SystemInfo.SETTINGS;
			}
			else
			{
				signpkg = SystemInfo.ANDROID;
			}
			if(info!=null)
			{
				Signature []signatures=info.signatures;
				if(signatures!=null&&signatures.length>0)
				{
					currentSignatures = signatures[0].toCharsString();
					signByteArray = signatures[0].toByteArray();
					//Tools.showLog("muge","Base64=\n"+Base64.encodeToString(signByteArray, Base64.NO_WRAP));//Base64.DEFAULT
				}
			}
		}
		return currentSignatures;
	}
	
	/**
	 * 获取当前手机的系统签名公钥
	 */
	private String platform_x509_pem;
	public String getCurrentPlatform_x509_pem(Context context) {
		if(platform_x509_pem==null)
		{
			String signatures = getCurrentSignatures(context);
			if(signatures!=null&&signByteArray!=null)//signatures.getBytes()
			{
				platform_x509_pem = Base64.encodeToString(signByteArray,Base64.NO_WRAP);//Base64.DEFAULT
			}
		}
		return platform_x509_pem;
	}
	
	/**
	 * 获取当前手机的平台信息
	 */
	private String currentPlatform;
	public String getCurrentPlatform(Context context) {
		if(currentPlatform==null)
		{
			currentPlatform = unkownPlatform;
			String platform_x509_pem = getCurrentPlatform_x509_pem(context);
			String currentUniqueKey = Tools.getUniqueString(platform_x509_pem);
			if(platform_x509_pem!=null&&currentUniqueKey!=null)
			{
				for(int i=0;i<platform_Signatures_UniqueKey.length;i++)
				{
					if(currentUniqueKey.equals(platform_Signatures_UniqueKey[i]))
					{
						currentPlatform = platformNameList[i];
						break;
					}
				}
			}
			/*
			Tools.showLog("mugekey", "currentUniqueKey="+currentUniqueKey);
			Tools.showLog("mugekey", "platform_x509_pem="+platform_x509_pem);
			if(platform_x509_pem!=null)
			{
				for(int i=0;i<platform_x509_pemList.length;i++)
				{
					currentUniqueKey = Tools.getUniqueString(platform_x509_pemList[i]);
					Tools.showLog("mugekey", "i="+i+"platformNameList["+i+"]="+platformNameList[i]);
					Tools.showLog("mugekey", "currentUniqueKey["+i+"]="+currentUniqueKey);
					Tools.showLog("mugekey", "platform_x509_pemList[["+i+"]]="+platform_x509_pemList[i]);
					
					if(platform_x509_pem.equals(platform_x509_pemList[i]))
					{
						currentPlatform = platformNameList[i];
						break;
					}
				}
			}
			if(currentPlatform.equals(unkownPlatform)&&currentSignatures!=null)
			{
				for(int i=0;i<platform_SignaturesList.length;i++)
				{
					if(currentSignatures.equals(platform_SignaturesList[i]))
					{
						currentPlatform = platformNameList[i];
						break;
					}
				}
			}
			*/
		}
		return currentPlatform;
	}
	
	/**
	 * 卸载资源
	 */
	public void unInstance() {
		mContext = null;
		platformManager = null;
	}
	
	/**
	 * 清除当前的手机平台信息，方便平台信息的重新统计
	 */
	private void clear() {
		currentPlatform = null;
	}

}
